home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-applets-data.postinst < prev    next >
Encoding:
Text File  |  2007-03-12  |  1.8 KB  |  48 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. # Automatically added by dh_scrollkeeper
  5. if [ "$1" = "configure" ] && which scrollkeeper-update >/dev/null 2>&1; then
  6.     scrollkeeper-update -q >/dev/null 2>&1
  7. fi
  8. # End automatically added section
  9. # Automatically added by dh_gconf
  10. if [ "$1" = "configure" ]; then
  11.     gconf-schemas --register battstat.schemas charpick.schemas cpufreq-applet.schemas drivemount.schemas geyes.schemas gswitchit.schemas gweather.schemas mixer.schemas multiload.schemas stickynotes.schemas 
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_desktop
  15. if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
  16.     update-desktop-database -q
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_iconcache
  20. touch -m /usr/share/icons/hicolor
  21. if [ "$1" = configure ] && \
  22.    [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
  23.    [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
  24.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
  25.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
  26.     gtk-update-icon-cache -q /usr/share/icons/hicolor
  27. fi
  28. # End automatically added section
  29. # Automatically added by dh_pysupport
  30. if [ "$1" = "configure" ] && which update-python-modules >/dev/null 2>&1; then
  31.     update-python-modules -i /usr/share/python-support/gnome-applets-data
  32. fi
  33. # End automatically added section
  34.  
  35.  
  36. if [ "$1" = "configure" ]; then
  37.     GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  38.     TMP_HOME=`mktemp -d /tmp/gconf.XXXXXX`
  39.     HOME=${TMP_HOME} gconftool-2 --direct \
  40.         --config-source=${GCONF_CONFIG_SOURCE} --recursive-unset \
  41.         /apps/mini-commander /apps/mini-commander-global \
  42.         /schemas/apps/mini-commander \
  43.         /schemas/apps/mini-commander-global   >/dev/null
  44.     rm -rf ${TMP_HOME}
  45. fi
  46.  
  47. exit 0
  48.